#ifndef WORKTHREAD_H
#define WORKTHREAD_H

#include <QWidget>
#include <QThread>
#include <QDebug>


namespace Ui {
class workThread;
}

class workThread : public QWidget
{
    Q_OBJECT

public:
    explicit workThread(QWidget *parent = 0);
    ~workThread();

    QThread* subThread;
    workThread* work;

protected:
    void run();

private slots:
    void on_pushButton_released();

private:
    Ui::workThread *ui;
};

#endif // WORKTHREAD_H
